package com.lza.phone.entity;
import java.io.Serializable;
import java.util.List;

import com.lza.phone.entity.connectEntity.PhoneList;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李钊澳
 * @since 2021-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Capacity implements Serializable  {

    private static final long serialVersionUID=1L;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 手机id
     */
    private Integer phoneId;

    //一对多关系
    private List<PhoneList> phoneLists;
    //一对一关系
    private User user;
}
